package com.electronsys.pojo;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable {

	// Fields

	private Integer deptId;
	private Employee employee;
	private String deptName;
	private String deptTel;
	private String deptMobile;
	private String deptFax;
	private String deptRemark;
	private Integer deptState;
	private Set employees = new HashSet(0);
	private Set computerCenters = new HashSet(0);

	// Constructors

	/** default constructor */
	public Department() {
	}

	/** minimal constructor */
	public Department(Integer deptId, String deptName, Integer deptState) {
		this.deptId = deptId;
		this.deptName = deptName;
		this.deptState = deptState;
	}

	/** full constructor */
	public Department(Integer deptId, Employee employee, String deptName,
			String deptTel, String deptMobile, String deptFax,
			String deptRemark, Integer deptState, Set employees,
			Set computerCenters) {
		this.deptId = deptId;
		this.employee = employee;
		this.deptName = deptName;
		this.deptTel = deptTel;
		this.deptMobile = deptMobile;
		this.deptFax = deptFax;
		this.deptRemark = deptRemark;
		this.deptState = deptState;
		this.employees = employees;
		this.computerCenters = computerCenters;
	}

	// Property accessors

	public Integer getDeptId() {
		return this.deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public String getDeptName() {
		return this.deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getDeptTel() {
		return this.deptTel;
	}

	public void setDeptTel(String deptTel) {
		this.deptTel = deptTel;
	}

	public String getDeptMobile() {
		return this.deptMobile;
	}

	public void setDeptMobile(String deptMobile) {
		this.deptMobile = deptMobile;
	}

	public String getDeptFax() {
		return this.deptFax;
	}

	public void setDeptFax(String deptFax) {
		this.deptFax = deptFax;
	}

	public String getDeptRemark() {
		return this.deptRemark;
	}

	public void setDeptRemark(String deptRemark) {
		this.deptRemark = deptRemark;
	}

	public Integer getDeptState() {
		return this.deptState;
	}

	public void setDeptState(Integer deptState) {
		this.deptState = deptState;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

	public Set getComputerCenters() {
		return this.computerCenters;
	}

	public void setComputerCenters(Set computerCenters) {
		this.computerCenters = computerCenters;
	}

}